<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">

    <li v-for="(item,index) in items">
        {{item.message}}--{{index}}
    </li>

</div>

<!--1.导入vue.js-->
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js"></script>

<script>
    var vm = new Vue({
        el:"#app",
        //Medel : 数据
        data:{
           items: [
               {message:'张立帅说java'},
               {message: '狂神说java'},
               {message: '韩雪莲说java'}
           ]
        }
    });
</script>

</body>
</html>